<template>
  <div>
    今日的作业数量： {{ count }} <br>
    <!-- 'update:count' update:后面不能空格 注意 -->
    <el-button @click="$emit('update:count', count + 1)">点击增加1</el-button>
  </div>
</template>

<script>
export default {
  name: 'Hr75Son',
  props: {
    count: {
      type: Number,
      required: true
    }
  },
  data() {
    return {

    }
  },

  mounted() {

  },

  methods: {

  }
}
</script>

<style lang="scss" scoped>

</style>
